gsk: Avoid long lines in serialized nodes
authorMatthias Clasen <mclasen@redhat.com>
Sat, 3 Oct 2020 13:45:28 +0000 (09:45 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 3 Oct 2020 17:10:55 +0000 (13:10 -0400)
commitcef1cd19ff31c3bcb1f4b52b53aed1315f8a0264
tree23a7dc2b6fa284d2e031d11a7e6f96da2a47caf4
parent279d3c08a96f1c2f4f631b6a27ba137112e95e63
gsk: Avoid long lines in serialized nodes

When encoding big blobs of data in base64, insert newlines.
Base64 allows it, CSS allows it, so not need to make GtkTextView
struggle with multi-megabyte lines.

Update nodeparser tests to reflect this change.
gsk/gskrendernodeparser.c
testsuite/gsk/nodeparser/empty-texture.ref.node
testsuite/gsk/nodeparser/widgetfactory.node